package com.registration.server.impl;

import com.registration.entity.YlDepartment;
import com.registration.mapper.YlDepartmentMapper;
import com.registration.server.YlDepartmentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author Lha
* @description 针对表【yl_department(科室信息表)】的数据库操作Service实现
* @createDate 2022-02-23 11:07:25
*/
@Service
public class YlDepartmentServiceImpl implements YlDepartmentService{

    @Autowired
    YlDepartmentMapper ylDepartmentMapper;

    @Override
    public List<YlDepartment> findAll() {
        return ylDepartmentMapper.findAll();
    }
}
